package br.com.mmm.autocenter.fornecedores.entity;

import java.util.Calendar;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Embeddable
public class Rg {
	@Column(length=20,name="numero_rg")
	private String numero;
	@Column(length=10,name="orgao_rg")
	private String orgao;
	@Column(name="expedicao_rg")
	@Temporal(TemporalType.TIMESTAMP)
	private Calendar expedicao;
	
	public String getNumero() {
		return numero;
	}
	public void setNumero(String numero) {
		this.numero = numero;
	}
	public String getOrgao() {
		return orgao;
	}
	public void setOrgao(String orgao) {
		this.orgao = orgao;
	}
	public Calendar getExpedicao() {
		return expedicao;
	}
	public void setExpedicao(Calendar expedicao) {
		this.expedicao = expedicao;
	}
	
	
	
}
